package com.stuManSystem.config;

public class AppConstants {
    //java连接数据库    mysql：表示连接的是mysql数据库  //localhost:3306：数据库所在的主机的ip地址和端口   student：数据库名称
    public static final String JDBC_URL="jdbc:mysql://localhost:3306/student?characterEncoding=utf8&useSSL=false&serverTimezone=UTC";
    //public static final String JDBC_URL = "jdbc:mysql://127.0.0.1:3306/student?useUnicode=true&amp;characterEncodeing=UTF-8";
    public static final String JDBC_USERNAME = "root";
    public static final String JDBC_PASSWORD = "201306";
    //连接数据库的驱动类的路径
    public static final String JDBC_DRIVER = "com.mysql.cj.jdbc.Driver";

    // main view
    public static final String MAINVIEW_TITLE = "学生信息管理系统";
    public static final String MAINVIEW_PAGENUM_JLABEL_DI = "第 ";
    public static final String MAINVIEW_PAGENUM_JLABEL_YE = "/99 页";
    public static final String MAINVIEW_FIND_JLABEL = "查询结果";
    public static final String MAINVIEW_FIRST = "首页";
    public static final String MAINVIEW_LAST = "末页";
    public static final String MAINVIEW_PRE = "上一页";
    public static final String MAINVIEW_NEXT = "下一页";
    public static final String PARAM_FIND_CONDITION = "";
    public static final String PARAM_FIND = "查找";
    public static final String PARAM_ADD = "添加";
    public static final String PARAM_DELETE = "删除";
    public static final String PARAM_UPDATE = "更新";

    //login view
    public static final String LoGIN_TITLE="登录界面";
    public static final String LOGIN_USERNAME="用户名";
    public static final String LOGIN_PASSWORD="密码";
    public static final String LOGIN="登录";
    public static final String RESET="重置";

    //add view
    public static final String ADDVIEW_TITLE="添加学生信息";
    public static final String ADDVIEW_ADDBUTTON="添加";
    public static final String EXITBUTTON="退出";

    //delete view
    public static final String DELETEVIRE_TITLE="删除学生信息";
    public static final String DELETEVIEW_DELETEBUTTON="删除";

    //update view
    public static final String UPDATEVIEW_TITE="更新学生信息";
    public static final String UPDATEVIEW_UPDATEBUTTON="更新";

    //student field
    public static final String STUDENT_NAME="姓名";
    public static final String STUDENT_SNO="学号";
    public static final String STUDENT_SEX="性别";
    public static final String STUDENT_DEPARTMETN="院系";
    public static final String STUDENT_HOMETOWN="籍贯";
    public static final String STUDENT_EMAIL="电子邮件";
    public static final String STUDENT_TEL="联系方式";
    public static final String STUDENT_MARK="学分";

}
